package com.fitns.user.model.user;

import com.fitns.user.model.enums.DataPermissionType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fitns.user.model.enums.DataPermissionType;

import java.sql.Timestamp;

@Data
public class Role {
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("用户名称")
    private String name;

    @ApiModelProperty("用户编码")
    private String code;

    @ApiModelProperty("所属机构id")
    private Long organId;

    @ApiModelProperty("角色描述")
    private String description;

   /* @ApiModelProperty("数据权限类型")
    private DataPermissionType DataPermissionType;*/

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("是否启用 0：启用  1:未启用")
    private int blnValid;

    @ApiModelProperty("创建者id")
    private Long createId;

    @ApiModelProperty("修改者id")
    private Long modifyId;

    @ApiModelProperty("创建时间")
    private Timestamp createTime;

    @ApiModelProperty("修改时间")
    private Timestamp modifyTime;

}
